-- CALC_ACTIVITY_LION_BONUS

-- 计算观活动本【黑白皇后】狮子掉落
-- @param user      玩家对象
return function(user)
    local rand = DungeonM.getRandSeed("activities_lion");
    local rand1 = DungeonM.getRandSeed("activities_lion");
    local classId = FormulaM.invoke("FETCH_BY_RAND", { 1301, 1302, 1303, 1304, }, rand1);
    local classId2 = FormulaM.invoke("FETCH_BY_RAND", { 1305, 1306, 1307, 1308, }, rand1);
    local arr;
    local arr1;
    local bonus = {};


    arr = { { ["bonus"] = { 1, classId, 20, }, ["ratio"] = 50, },
            { ["bonus"] = { 1, classId2, 10, }, ["ratio"] = 50, },};

    arr1 = fetchElemBySeed(arr, rand);
    bonus  = arr1["bonus"];

    return bonus;
end